
	<!-- ####################################################################################################### -->
<?php
$this->pageTitle=Yii::app()->name . ' - Login';
$this->breadcrumbs=array(
	'Login',
);
?>
<div class="wrapper col3">
	<div id="homecontent">
		<div class="fl_left">
			<p><h2>Добавить  вакансию</h2></p>
			
		<div class="form" style="width:400px;">
	<?php
	$form=$this->beginWidget('CActiveForm',array(
	        'id'=>'reg-form',
	        'enableAjaxValidation'=>true,
	));
	?>
	
	<div class="row">
	
		<?php echo $form->labelEx($uservacancy,'position',array("label"=>"Должность")); ?>
		<?php echo $form->textField($uservacancy,'position'); ?> 
		<?php echo $form->error($uservacancy,'position'); ?>
		
	</div><br/>
	
	<div class="row">
	
		<?php echo $form->labelEx($uservacancy,'firm_name',array("label"=>"Название фирмы")); ?>
		<?php echo $form->textField($uservacancy,'firm_name'); ?> 
		<?php echo $form->error($uservacancy,'firm_name'); ?>
				
	</div><br/>
	
	<div class="row">
	
		<?php echo $form->labelEx($uservacancy,'worktime',array("label"=>"график работы")); ?>
		<?php echo $form->textField($uservacancy,'worktime'); ?> 
		<?php echo $form->error($uservacancy,'worktime'); ?>
				
	</div><br/>
	
	<div class="row">
	
		<?php echo $form->labelEx($uservacancy,'salery',array('label'=>"Зарплата")); ?>
		<?php echo $form->textField($uservacancy,'salery');?> 
		<?php echo $form->error($uservacancy,'salery'); ?>
		
	</div><br/>
	
	<div class="row">
		
			<?php echo $form->labelEx($uservacancy,'education',array('label'=>"Образование")); ?>
			 <?php  echo $form->textField($uservacancy,'education'); ?>
			<?php echo $form->error($uservacancy,'education'); ?>
		
	</div><br/>
	
	<div class="row">
		
			<?php echo $form->labelEx($uservacancy,'responsibility',array('label'=>"Обязательства")); ?>
			 <?php  echo CHtml::activetextArea($uservacancy,'responsibility',$htmlOptions=array('rows'=>'10','cols'=>"70%" )); ?>
			<?php echo $form->error($uservacancy,'responsibility'); ?>
		
	</div><br/>
	
	<div class="row">
		
			<?php echo $form->labelEx($uservacancy,'email',array('label'=>"e-mail")); ?>
			 <?php  echo $form->textField($uservacancy,'email'); ?>
			<?php echo $form->error($uservacancy,'email'); ?>
		
	</div><br/>
	<div class="row">
		
			<?php echo $form->labelEx($uservacancy,'addres',array('label'=>"адрес")); ?>
			 <?php  echo $form->textField($uservacancy,'addres'); ?>
			<?php echo $form->error($uservacancy,'addres'); ?>
		
	</div><br/>
	<div class="row">
		
			<?php echo $form->labelEx($uservacancy,'phone',array('label'=>"телефон")); ?>
			 <?php  echo $form->textField($uservacancy,'phone'); ?>
			<?php echo $form->error($uservacancy,'phone'); ?>

	</div><br/>
	<div class="row">
		
			<?php echo $form->labelEx($uservacancy,'website',array('label'=>"website")); ?>
			 <?php  echo $form->textField($uservacancy,'website'); ?>
			<?php echo $form->error($uservacancy,'website'); ?>
		
	</div><br/>
	<div class="row">
		
			<?php echo $form->labelEx($uservacancy,'contact_person',array('label'=>"контактное лицо")); ?>
			 <?php  echo $form->textField($uservacancy,'contact_person'); ?>
			<?php echo $form->error($uservacancy,'contact_person'); ?>
		
	</div><br/>
		
		
			<div class="row">
			
				<?php //echo $form->labelEx($scope,'scope'); ?>
				 <?php echo CHtml::dropDownList('scope', '1',
                              $list, array('class'=>'Select')
                              ); ?>
				<?php echo $form->error($uservacancy,'scope'); ?>
			
		</div><br/>
		
		
		<div class="row">
		
				<?php echo $form->labelEx($uservacancy,'more',array('label'=>"Дополнительная информация")); ?>
				 <?php  echo CHtml::activetextArea($uservacancy,'more',$htmlOptions=array('rows'=>'10','cols'=>"70%" )); ?>
				<?php echo $form->error($uservacancy,'more'); ?>
			
		</div><br/>
	
	<div class="row buttons"><?php echo CHtml::submitButton('Сохрнаить',array('class'=>'Ok')); ?>
	</div>
	
	<?php $this->endWidget(); ?></div>
	<!-- end form -->
	</div><!-- flleft -->
	  <div id="column">
      <div class="subnav">
        <h2>Моя страница</h2>
        <ul class="tablets">
        <li><a href="/userpage/Myvacancy/">Мои вакансии</a></li>        
          <li><a href="/userpage/Addvacancy/">Добавить вакансию</a></li>  
          <li><a href="/userpage/myinformation/">Моя информация</a></li>  
        </ul>
     </div>
    </div>
</div><!-- homecontent -->
</div>
	<!-- ####################################################################################################### -->
